<?php

  function service_title_validation($form) {
    // Check bad character validation

    chkbadchar($form['title']['#value'], $form['title']['#title'], 'title');

	// check char
	check_char($form['title']['#value'], $form['title']['#title']);

	// maximum length validation for Title and Description Field
    maxlength_validation($form['title']['#value'], 255, $form['title']['#title'], 'title');
	// minimum length charcter
  	minilength_validation($form['title']['#value'], 5, $form['title']['#title'], 'title');


}
